package com.stylefeng.guns.modular.system.model;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 通知消息列表
 * </p>
 *
 * @author stylefeng
 * @since 2019-10-07
 */
@TableName("biz_notice_base")
public class NoticeBase extends Model<NoticeBase> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Integer id;
    /**
     * 消息内容
     */
    private String message;
    /**
     * 消息是否查看 1为已读 0为未读
     */
    private Integer state;
    /**
     * 技师ID
     */
    private Integer artificerId;
    /**
     * 用户ID
     */
    private Integer consumerId;
    /**
     * 创建时间
     */
    private Date createDate;
    /**
     * 更新时间
     */
    private Date updateDate;
    /**
     * 标题
     */
    private String title;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getArtificerId() {
        return artificerId;
    }

    public void setArtificerId(Integer artificerId) {
        this.artificerId = artificerId;
    }

    public Integer getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(Integer consumerId) {
        this.consumerId = consumerId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "NoticeBase{" +
        "id=" + id +
        ", message=" + message +
        ", state=" + state +
        ", artificerId=" + artificerId +
        ", consumerId=" + consumerId +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", title=" + title +
        "}";
    }
}
